package org.knife.springbootlearn.security.infra.mapper;

import org.knife.springbootlearn.security.domain.entity.TUserRole;

import java.util.List;

public interface TUserRoleDao {
    int deleteByPrimaryKey(Integer id);

    int insert(TUserRole record);

    int insertSelective(TUserRole record);

    TUserRole selectByPrimaryKey(Integer id);


    List<TUserRole> listUserRoleByUserName(String userName);

    int updateByPrimaryKeySelective(TUserRole record);

    int updateByPrimaryKey(TUserRole record);
}